package com.workstudy.wstudy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.workstudy.common.annotation.Excel;
import com.workstudy.common.core.domain.BaseEntity;

/**
 * 用户岗位对象 wst_post_user
 * 
 * @author sun
 * @date 2021-04-04
 */
public class WstPostUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** postId */
    @Excel(name = "postId")
    private Long postId;

    /** userID */
    @Excel(name = "userID")
    private Long userId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private WstPost post;

    public WstPost getPost() {
        return post;
    }

    public void setPost(WstPost post) {
        this.post = post;
    }

    public void setPostId(Long postId)
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postId", getPostId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .toString();
    }
}
